package ltd.dujiabao.springcloud.service;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

/**
 * @author : DuJiabao
 * @Project : springcloud
 * @Time : 2021/5/25 22:07
 * @Desc :
 */
@Service
public class ResourceService {
  @SentinelResource("resource")
  public String resource() {
    return "resource";
  }
}
